import { rule } from "@/util/validateRules";
export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  searchMenuSpan: 3,
  editBtn: false,
  delBtn: false,
  align: 'center',
  addBtn: false,
  viewBtn: false,
  labelWidth:120,
  menuWidth:280,
  column: [{
    label: '广告编号',
    prop: 'a',
    span: 24,
    rules: [
      { required: true, message: '广告编号不能为空', trigger: 'blur' }
    ]
  }, {
    label: '广告类型',
    prop: 'b',
    span: 24,
    rules: [
      { required: true, message: '广告编号不能为空', trigger: 'blur' }
    ]
  }, {
    label: '广告位置',
    prop: 'c',
    span: 24,
    rules: [
      { required: true, message: '广告位置不能为空', trigger: 'blur' }
    ]
  },{
    label: '广告内容',
    prop: 'd',
    span: 24,
    rules: [
      { required: true, message: '广告内容不能为空', trigger: 'blur' }
    ]
  },{
    label: '网站ID',
    prop: 'e',
    span: 24,
    rules: [
      { required: true, message: '网站Id不能为空', trigger: 'blur' }
    ]
  },{
    label: '商品ID',
    prop: 'f',
    span: 24,
    rules: [
      { required: true, message: '商品Id不能为空', trigger: 'blur' }
    ]
  },{
    label: '审核状态',
    prop: 'g',
    span: 24,
    rules: [
      { required: true, message: '审核状态不能为空', trigger: 'blur' }
    ]
  },{
    label: '生效状态',
    prop: 'h',
    span: 24,
    rules: [
      { required: true, message: '生效状态不能为空', trigger: 'blur' }
    ]
  },{
    label: '生效日期',
    prop: 'i',
    span: 24,
    rules: [
      { required: true, message: '生效日期不能为空', trigger: 'blur' }
    ]
  },{
    label: '备注',
    prop: 'j',
    span: 24,
    rules: [
      { required: true, message: '备注不能为空', trigger: 'blur' }
    ]
  },{
    label: '申请时间',
    prop: 'k',
    span: 24,
    rules: [
      { required: true, message: '申请时间不能为空', trigger: 'blur' }
    ]
  },{
    label: '申请人ID',
    prop: 'l',
    span: 24,
    rules: [
      { required: true, message: '申请人ID不能为空', trigger: 'blur' }
    ]
  }]
}
